package com.naiterui.ehp.bs.emr.entity.mongo.health;

import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 疫区涉足史
 * @Author gongbaoqiang
 * @Date 2020/6/2 2:31 PM
 */
@Data
@ToString
@Builder
public class EpidemicArea implements Serializable {
    private static final long serialVersionUID = -7918987857982446497L;

    /**
     * 外伤史
     */
    private String value;

    /**
     * 吸烟史详情
     */
    private OptionDetail detail;


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class OptionDetail{

        /**
         * 涉足疫区
         */
        private String  area;

        /**
         * 到达疫区日期
         */
        private Date startDate;

        /**
         * 离开疫区日期
         */
        private Date endDate;

    }
}
